package io.qytc.jboot.entity.reqBean;


import java.util.List;

public class BusinessRequest {


    /**
     * customerId : 10001
     * city : 01
     * areaid : 01
     * businessOrder : [{"businessId":"20001","type":"1","products":[{"businessId":"20001","productId":"30001","type":"1","name":"点对点通话","userLimit":"","expired":"1557642803249"},{"businessId":"20001","productId":"30002","type":"2","name":"群聊产品","userLimit":"5","expired":"1557642803249"}],"meetings":[{"businessId":"20001","roomNo":"50001"},{"businessId":"20001","roomNo":"50002"}],"accounts":[{"businessId":"20001","type":"1","acctno":"60001","nick":"昵称1"},{"businessId":"20001","type":"2","acctno":"60002","nick":"昵称2"}]},{"businessId":"20002","type":"1","products":[{"businessId":"20002","productId":"30002","type":"1","name":"点对点通话","userLimit":"","expired":"1557642803249"},{"businessId":"20002","productId":"30003","type":"2","name":"群聊产品","userLimit":"5","expired":"1557642803249"}],"meetings":[{"businessId":"20002","roomNo":"50003"},{"businessId":"20002","roomNo":"50004"}],"accounts":[{"businessId":"20002","type":"1","acctno":"60003","nick":"昵称3"},{"businessId":"20002","type":"2","acctno":"60004","nick":"昵称4"}]}]
     */

    private String customerId;
    private String city;
    private String areaid;
    private List<BusinessOrderBean> businessOrder;

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getAreaid() {
        return areaid;
    }

    public void setAreaid(String areaid) {
        this.areaid = areaid;
    }

    public List<BusinessOrderBean> getBusinessOrder() {
        return businessOrder;
    }

    public void setBusinessOrder(List<BusinessOrderBean> businessOrder) {
        this.businessOrder = businessOrder;
    }

    public static class BusinessOrderBean {
        /**
         * businessId : 20001
         * type : 1
         * products : [{"businessId":"20001","productId":"30001","type":"1","name":"点对点通话","userLimit":"","expired":"1557642803249"},{"businessId":"20001","productId":"30002","type":"2","name":"群聊产品","userLimit":"5","expired":"1557642803249"}]
         * meetings : [{"businessId":"20001","roomNo":"50001"},{"businessId":"20001","roomNo":"50002"}]
         * accounts : [{"businessId":"20001","type":"1","acctno":"60001","nick":"昵称1"},{"businessId":"20001","type":"2","acctno":"60002","nick":"昵称2"}]
         */

        private String businessId;
        private int type;
        private List<ProductsBean> products;
        private List<MeetingsBean> meetings;
        private List<AccountsBean> accounts;

        public String getBusinessId() {
            return businessId;
        }

        public void setBusinessId(String businessId) {
            this.businessId = businessId;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public List<ProductsBean> getProducts() {
            return products;
        }

        public void setProducts(List<ProductsBean> products) {
            this.products = products;
        }

        public List<MeetingsBean> getMeetings() {
            return meetings;
        }

        public void setMeetings(List<MeetingsBean> meetings) {
            this.meetings = meetings;
        }

        public List<AccountsBean> getAccounts() {
            return accounts;
        }

        public void setAccounts(List<AccountsBean> accounts) {
            this.accounts = accounts;
        }

        public static class ProductsBean {
            /**
             * businessId : 20001
             * productId : 30001
             * type : 1
             * name : 点对点通话
             * userLimit :
             * expired : 1557642803249
             */

            private String businessId;
            private String productId;
            private int type;
            private String name;
            private int userLimit;
            private Long expired;

            public String getBusinessId() {
                return businessId;
            }

            public void setBusinessId(String businessId) {
                this.businessId = businessId;
            }

            public String getProductId() {
                return productId;
            }

            public void setProductId(String productId) {
                this.productId = productId;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getUserLimit() {
                return userLimit;
            }

            public void setUserLimit(int userLimit) {
                this.userLimit = userLimit;
            }

            public long getExpired() {
                return expired;
            }

            public void setExpired(long expired) {
                this.expired = expired;
            }
        }

        public static class MeetingsBean {
            /**
             * businessId : 20001
             * roomNo : 50001
             */

            private String businessId;
            private String roomNo;

            public String getBusinessId() {
                return businessId;
            }

            public void setBusinessId(String businessId) {
                this.businessId = businessId;
            }

            public String getRoomNo() {
                return roomNo;
            }

            public void setRoomNo(String roomNo) {
                this.roomNo = roomNo;
            }
        }

        public static class AccountsBean {
            /**
             * businessId : 20001
             * type : 1
             * acctno : 60001
             * nick : 昵称1
             */

            private String businessId;
            private int type;
            private String acctno;
            private String nick;

            public String getBusinessId() {
                return businessId;
            }

            public void setBusinessId(String businessId) {
                this.businessId = businessId;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getAcctno() {
                return acctno;
            }

            public void setAcctno(String acctno) {
                this.acctno = acctno;
            }

            public String getNick() {
                return nick;
            }

            public void setNick(String nick) {
                this.nick = nick;
            }
        }
    }
}
